<?php
	/*
	* 万座网-商户后台系统框架
	*/
	require_once("../inc/ini.php");		//通用函数包含文件
	require_once("func/function.php");
	isLogin();//验证用户是否登录，未登录跳转到登录页面
	user_mktime($_SESSION['time']);//验证是否登录超时
	$act = empty($act) ? '' : $act;
	switch($act){
		case "head":
			require_once("func/order.class.php");
			$ord=new order();
			include ADMINI_TPL."public/head.html";	
			break;
		case "left":
			include ADMINI_TPL."public/left.html";	
			break;
		case "noticedetail":
			$detail=getNoticeDetail($id);
			include ADMINI_TPL."notice_detail.html";	
			break;
		case "ibody":
			$notice=getNotice();
			$topTicket=getTopTicket();//取得最新添加的门票产品
			include ADMINI_TPL."index_body.html";	
			break;
		default:
			include ADMINI_TPL."index.html";
			break;	
	}
?>